<?php /* @var $this Controller */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />

	<!-- blueprint CSS framework -->
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />
	<!--[if lt IE 8]>
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
	<![endif]-->

    <!--Jquery-->
    <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
    <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />

    <!--My settings-->
	<link rel="stylesheet" type="text/css" href="<?= Yii::app()->request->baseUrl; ?>/css/main.css" />
    <link rel="stylesheet" type="text/css" href="<?= Yii::app()->request->baseUrl; ?>/css/form.css" />
    <link rel="stylesheet" type="text/css" href="<?= Yii::app()->request->baseUrl; ?>/css/style.css" />
    <script type="text/javascript" src="<?= Yii::app()->request->baseUrl; ?>/js/script.js"></script>

    <!--alertify-->
    <link rel="stylesheet" type="text/css" href="<?= Yii::app()->request->baseUrl; ?>/css/alertify/alertify.bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="<?= Yii::app()->request->baseUrl; ?>/css/alertify/alertify.core.css" />
    <link rel="stylesheet" type="text/css" href="<?= Yii::app()->request->baseUrl; ?>/css/alertify/alertify.default.css" />
    <script type="text/javascript" src="<?= Yii::app()->request->baseUrl; ?>/js/alertify.js"></script>

    <!--Feedback-->
    <script type="text/javascript" src="<?= Yii::app()->request->baseUrl; ?>/js/feedback.js"></script>

    <!--VK API-->
<!--    <script src="http://vk.com/js/api/openapi.js" type="text/javascript">-->

	<title><?= CHtml::encode($this->pageTitle); ?></title>
</head>

<body>

<div id="feedback">
    <div id="feedback_body">
        <?php
            $model = new Feedback;
            $this->beginContent('//layouts/feedback', array('model'=>$model));
                echo $content;
            $this->endContent();
        ?>
    </div>
    <div id="feedback_title" title="Обратная связь">Feedback</div>
</div>

<div id="page">
    <!--header-->
    <div id="header">
        <a href="/">
        <?php $this->beginContent('//layouts/header'); ?>
            <?= $content ?>
        <?php $this->endContent(); ?>
        </a>
    </div>



	<?= $content; ?>

	<div class="clear"></div>

    <!-- footer -->
	<div id="footer">
        <?php $this->beginContent('//layouts/footer'); ?>
            <?= $content ?>
        <?php $this->endContent(); ?>
	</div>

</div><!-- page -->

</body>
</html>